package com.wcar.vipmanagement.feign;

import com.wcar.common.entity.User;
import com.wcar.common.vo.Result;
import com.wcar.vipmanagement.feign.factory.UserFeignFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@FeignClient(value = "wcar-system",fallbackFactory = UserFeignFactory.class)
public interface UserFeign {
    @GetMapping("/system/user/selectById/{id}")
    public Result<User> selectById(@PathVariable Integer id);
}
